package com.example.learn.hwod;

import java.util.Scanner;

public class _33螺旋打印数字 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int k = (int) Math.ceil(n * 1.0 / m);
        System.out.println(k);

    }
}
